Evaluate the definite integral $\int_{0}^{1} \left(x e^{x} + \sin \frac{\pi x}{4}\right) dx$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(D) Let $I = \int_{0}^{1} \left(x e^{x} + \sin \frac{\pi x}{4}\right) dx$.
Using the linearity property of integrals,we have:
$I = \int_{0}^{1} x e^{x} dx + \int_{0}^{1} \sin \frac{\pi x}{4} dx$.
For the first part,we use integration by parts: $\int u dv = uv - \int v du$.
Let $u = x$ and $dv = e^{x} dx$. Then $du = dx$ and $v = e^{x}$.
$\int x e^{x} dx = x e^{x} - \int e^{x} dx = x e^{x} - e^{x}$.
For the second part:
$\int \sin \frac{\pi x}{4} dx = -\frac{4}{\pi} \cos \frac{\pi x}{4}$.
Combining these,the antiderivative $F(x)$ is:
$F(x) = x e^{x} - e^{x} - \frac{4}{\pi} \cos \frac{\pi x}{4}$.
Applying the limits from $0$ to $1$:
$I = F(1) - F(0) = \left(1 \cdot e^{1} - e^{1} - \frac{4}{\pi} \cos \frac{\pi}{4}\right) - \left(0 \cdot e^{0} - e^{0} - \frac{4}{\pi} \cos 0\right)$.
$I = \left(e - e - \frac{4}{\pi} \cdot \frac{1}{\sqrt{2}}\right) - \left(0 - 1 - \frac{4}{\pi} \cdot 1\right)$.
$I = -\frac{2\sqrt{2}}{\pi} + 1 + \frac{4}{\pi} = 1 + \frac{4 - 2\sqrt{2}}{\pi}$.

Explore More

Similar Questions

The integral $\int_0^{\frac{\pi}{4}} \frac{136 \sin x}{3 \sin x+5 \cos x} dx$ is equal to :

$\int_a^b \frac{\log x}{x} \, dx = $

For any real number $x$,let $[x]$ denote the largest integer less than or equal to $x$. If $I = \int_0^{10} \left[ \sqrt{\frac{10x}{x+1}} \right] dx$,then the value of $9I$ is . . . . . .

$\int_0^{\pi /4} (\cos x - \sin x) dx + \int_{\pi /4}^{5\pi /4} (\sin x - \cos x) dx + \int_{2\pi }^{\pi /4} (\cos x - \sin x) dx$ is equal to

Difficult
View Solution

$\int_0^{\pi /4} {\frac{{\sec x}}{{1 + 2{{\sin }^2}x}}} dx$ is equal to

Difficult
View Solution

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo